<?php

defined( 'PDNS_AUTH' ) or die( "Unauthorized" );

class zonesController extends Controller{
	public function action( $action ){
		switch( $action ){
			case 'list':
			default:
				$this->show();
			break;
		}
	}

	protected function show(){
		$model = $this->getModel();
		$this->displayView( 'list', $model );
	}
}
